Repository navigation
feat(window): keep the look with the library, save the title on Enter, and say what a removed row became (0.13.9) - #13
Merged
Merged
Conversation
Enter, Shift+Enter and Ctrl or Cmd+Enter all save the title and never insert a line break; the hint now reads Enter to save.
The hint keeps its reserved space and toggles visibility so nothing moves.
A window-look.json file in the data folder holds mode, themes, accent and the title field setting, read and written by an authenticated window route.
The engine serves index.html with the saved look as escaped data attributes on the html element and no caching, so the first frame on any port is already right.
… overflows Strips over the padding keep a fourth line from showing, and one measured attribute turns on a bottom fade only when the title runs past three lines.
Fixed height is the default, so it leads the list.
The boot script takes the look the engine wrote on the html element before browser storage and mirrors it into storage for the modules that read it.
Saves are merged and sent once the window key is in hand, and a failed send keeps the change for the next one.
Theme, accent and title field changes still go to browser storage and now also to the engine, and a look found only in storage is moved to the engine once.
The slot keeps its height but now reads as an intentional dashed placeholder with a plain sentence, and a restore offers Undo through the existing trash call.
The merged slot now names the kept title and where the extra copies went, with no undo since a merge also fills fields and moves files.
The desktop splash window loads splash/index.html, so the older splash.html was dead.
Records where the look is stored, how the served page carries it, the migration and the cross-port run.
The overflow mark skipped a hidden pane and was stale after a mode change, so a resize observer now measures it once the box has a size.
The merge toast read the extras are for one copy.
The bottom strip keeps one height in both states and only its gradient changes, which removes a small shift when moving between long and short titles.
Undo now puts the same row back where it was, so other placeholders keep their height until the next load.
…ders Records the v0.13.9 title, fade and placeholder decisions with the measured results.
The formsubstrate row names the file that 0.13.9 removes and what replaced it.
Every version site moves to 0.13.9 and the changelog gets its section.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
feat(window): keep the look with the library, save the title on Enter, and say what a removed row became (0.13.9)
Summary
window-look.json) and written into the page before it is sent, so the first frame is right on any port. Cause of the fault: they lived in browser storage, which is kept per port, and the desktop app's engine takes a new port on every launch. A look found only in browser storage is moved to the engine once.public/splash.htmlis removed; nothing loaded it.Commits
20 commits, oldest first, release commit last:
Version
v0.13.9 (release commit is last). Bumped:
frontend/package.json, two fields infrontend/package-lock.json,frontend/src/version.ts,backend/app/__init__.py,src-tauri/Cargo.toml, theformciteentry insrc-tauri/Cargo.lock,src-tauri/tauri.conf.json,native/formcite-style/Cargo.toml, itsCargo.lockentry andpyproject.toml, the "Current build version" line in the fourHASHOUT_LOG.mdfiles, the README badge, and a newCHANGELOG.mdsection.Checks
npm run checkand the import ofapp.mainandapp.clipassed at the head; the import passed at each of the 20 commits.Cache-Control: no-store.cargo checkand a debugcargo buildon Linux finished with no errors and no warnings, the first compile of this shell. Run on a virtual display, the new splash card showed with FormCite's icon.Not run: the desktop run did not get past the splash to the library window. A stand-in launcher was used in place of the frozen engine and the window reported that it could not connect; the cause was not established. Nothing ran on macOS or Windows. The "Deleted for good." placeholder was not exercised in a browser.
Merging
Merge with a merge commit so each commit and its signature stays. Do not squash.